<?php
/*
 * @Author: CHINAKAIYUAN<sunkaiyuan@namenode.cn>
 * @Date: 2022-02-03 00:33:05
 * @LastEditTime: 2023-05-06 00:05:39
 * @LastEditors: 孙开源 && sunkaiyuan@namenode.cn
 * @Description: 
 */

namespace App\Models;


class Shift extends BaseModel
{
    public $timestamps = true;
    public $table = "basedata_shift";
    protected $guarded = [];

    public function users()
    {
        return $this->hasMany(Employee::class, "shift_id");
    }
}
